package com.huatai.saas.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;

/**
 * @BelongsProject: nanming-saas
 * @BelongsPackage: com.huatai.saas.dto
 * @Author: hecaiy
 * @CreateTime: 2024-04-11  19:50
 * @Description: TODO
 * @Version: 1.0
 */
@Data
public class BackChunkDto implements Serializable {
	private static final long serialVersionUID = 1L;
	private Long id;
	@ApiModelProperty(value = "文件块编号")
	private Integer chunkNumber;
	@ApiModelProperty(value = "分块大小")
	private Long chunkSize;
	@ApiModelProperty(value = "当前分块大小")
	private Long currentChunkSize;
	@ApiModelProperty(value = "文件名称")
	private String fileName;
	@ApiModelProperty(value = "文件唯一标识")
	private String identifier;
	@ApiModelProperty(value = "相对路径")
	private String relativePath;
	@ApiModelProperty(value = "总块数")
	private Long totalChunks;
	@ApiModelProperty(value = "总大小")
	private Long totalSize;
	@ApiModelProperty(value = "文件流")
	private MultipartFile file;
}
